<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        span:first-child{
            text-shadow: 10px 10px 5px red,5px -5px 3px blue;
        }

        .d1{
            width: 200px;
            height: 200px;
            border: 1px solid red;

            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .d2{
            width: 150px;
            height: 150px;
            border: 1px solid red;

            /* 默认情况下，当单词或url太长时，浏览器默认不会换行 */
            /* word-wrap: break-word; */
            word-break: break-all;
        }
    </style>
</head>
<body>
    <span>HELLO</span>
    <br>
    <br>
    <br>

    <div class="d1">
        text-shadow 属性向文本添加一个或多个阴影。该属性是逗号分隔的阴影列表，每个阴影有两个或三个长度值和一个可选的颜色值进行规定。省略的长度是
        text-shadow 属性向文本添加一个或多个阴影。该属性是逗号分隔的阴影列表，每个阴影有两个或三个长度值和一个可选的颜色值进行规定。省略的长度是
    </div>
    <hr>

    <div class="d2">
        welcome to itany hello world
        https://www.w3school.com.cn/cssref/prtext/shadow.asp
    </div>
</body>
</html>